import { ref } from 'vue';
import { defineStore } from 'pinia';

/* 组合式的写法 */
export const useRedEnvelopeStore = defineStore('redEnvelope', () => {
  const mobile = ref('');
  return { mobile }
})
// export const useRedEnvelopeStore = defineStore('redEnvelope', {
//   state: () => {
//     return {
//       mobile: ''
//     };
//   }
// });
